package com.gaogzhen.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author Administrator
 * @version 1.0
 * @description
 * @date 2022-11-28 11:50
 */
@Data
@ApiModel(value = "cash购买时的标的参数")
public class CashParam {
    @ApiModelProperty(value = "币种id")
    @NotNull
    private Long coinId;


    @ApiModelProperty(value = "币种数量")
    @NotNull
    private BigDecimal num;

    @ApiModelProperty(value = "币种金额")
    @NotNull
    private BigDecimal mum;
}
